package com.qn.analyze.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.qn.analyze.entity.UserAgentMetrics;
import com.qn.analyze.vo.UserAgentMetricsQueryVo;
import com.qn.core.resources.ResourcesDs;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
public interface UserAgentMetricsMapper {
    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getDeviceClassList(@Param("where") UserAgentMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getDeviceBrandList(@Param("where") UserAgentMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getSystemNameList(@Param("where") UserAgentMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getBrowserTypeList(@Param("where") UserAgentMetricsQueryVo where);
    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getBrowserNameList(@Param("where") UserAgentMetricsQueryVo where);

    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getSystemNameStatisticsList(@Param("where") UserAgentMetricsQueryVo where);

    @DS(ResourcesDs.STRING)
    List<UserAgentMetrics> getBrowserNameStatisticsList(@Param("where") UserAgentMetricsQueryVo where);
}
